/*
 * Copyright 2021 Wicrenet, Inc. All rights reserved.
 */
package com.yinshu.teleshield.jwt;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

/**
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ContextUserDto implements Serializable {
    private static final long serialVersionUID = -1343649421450195357L;
    @Schema(description = "用户id")
    private Long id;
    @Schema(description = "用户名称")
    private String username;
    @Schema(description = "用户昵称")
    private String nickname;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "租户id")
    private Long tenantId;
}
